package com.chaoyi.service;

import java.io.IOException;
import java.util.List;

import javax.servlet.http.Part;

import com.chaoyi.model.BarrageAndUser;

public interface BarrageAndUserService {

	List<BarrageAndUser> findList(String offset, String limit);

	int saveBarrageAndUser(BarrageAndUser barrageAndUser);

	String uploadClassifyImg2WSCDN(Part uploadFile) throws IOException, Exception;

	BarrageAndUser findBarrageAndUserOne(int id);

	int alertBarrageAndUserSave(BarrageAndUser barrageAndUser);

	int deleteBarrageAndUser(int id);

	int findCount();

}
